Repository navigation
fix: harden ComfyUI reads, the agent settings seal, agent file writes, library saves and the Windows program starter - #39
Merged
Conversation
…ey, as its writes do status, graph, upscale-models, job and image send the saved ComfyUI sign-in to the address they are given, so only the formvis window may ask for them.
…t no longer matches is reported Blocked joins the sealed fields. A file whose seal does not match its values reads as changed outside formvis even when nothing in it was loosened, so a change to Blocked or to the agent folders is reported. A choice sealed before Blocked was sealed stands and is sealed again on load.
…t and rename it over, as the window's saves do export_image, save_project, export_mask, export_layer, timeline_render and convert_file no longer truncate the file they replace before the new one is complete, so a full disk or a stop part way leaves the earlier file.
…whose name is taken there A project moved into a folder that already holds both its name and its (moved) name is now saved as (moved 2) and on, so no project there is replaced.
…hose name differs only in letter case macOS and Windows file systems treat Poster and poster as one file, so Save to Library and Save a Copy now compare names without letter case before deciding whether to ask about replacing one.
…cmd.exe gets only words it passes unchanged The finder is 1.0.2. A .cmd shim that npm wrote is started as the node script or program it names, so the words typed in the dock reach the program as typed. Any other .cmd or .bat still goes through cmd.exe, and a word with a control character, a %, an unmatched quote or one of & | < > ^ ( ) outside quotes is refused with a message. LOOKUP_HASHES records the new hash.
…nd Windows starter fixes
A launcher that sets its own variables, or hands its arguments to a program with a script in front of them, is no longer started as the first .exe it names; it goes through the command interpreter checks instead. LOOKUP_HASHES records the finder's new hash.
The engine trims a library name before saving, so a name typed with a space at either end now asks before replacing the project it matches.
…not be checked blocks outside agents New seals write sealVersion and cover it, so a versioned file is only checked against the current seal and never read in the earlier format. A seal mark must be 64 hex characters before it is compared, as bytes. A file that cannot be read, parsed or checked is a broken seal, and a broken seal blocks outside agents, clears allowed and turns allow policies to ask.
…, quoted or not When a program still starts through the Windows command interpreter, any word, its path included, with one of & | < > ^ ( ) ! % " or a control character is refused, with a message to pass long text through standard input or a file. The quote-based reading is gone. A shim whose node is itself a batch file is not started directly. LOOKUP_HASHES records the finder's new hash; the living log records both changes.
…led, and the earlier format keeps Blocked on A stored choice with no seal mark stands only while the keychain holds no seal key and no versioned file has been sealed, and only when nothing is loosened; loosened now also counts outside agents not blocked and folder limits that are empty or that the loader would change. Sealing a versioned file is recorded in the keychain, and from then on the earlier format is refused. A file accepted in the earlier format, whose seal never covered blocked, keeps Blocked on and allowed false until it is sealed again.
…chain item The record that a versioned file was sealed is kept beside the key in the agents-seal item (the key in hex followed by :v2), so the two cannot be changed apart; an item in the earlier layout gains the mark on the next seal. An item that cannot be read as a key counts as no key and recorded, so stored choices read as broken instead of the seal turning off, and a refused write of the record keeps it in memory with the key still in use.
…ystem conftest.py points HOME, USERPROFILE, LOCALAPPDATA, APPDATA and the XDG folders at a temporary folder before any test module is imported, since localgen.paths reads the data folder at import. The ffmpeg fixture set only XDG_DATA_HOME, which macOS and Windows ignore, so it wrote a stub ffmpeg into the shared folder and left it on PATH; it now redirects every folder ff.folder() reads into tmp_path, restores PATH and checks the real folder is unchanged. The shared model folder for the segmentation tests moves beside pytest's temporary folders.
Resolve the conflict in frontend/HASHOUT_LOG.md: keep the library-name entry from this branch on top and both 2.8.4 menu entries from main below it. The unreleased entries in both HASHOUT_LOGs now read "after 2.8.4". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDaBjhAMUFzDLdeSMKe5tN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
For the owner
How to ship